Skip to main content

Trade Request Approval Status

POST /api/trade-requests/approval-status/{requestId}

Description​

Update the approval status of a trade request.

Path Parameters​

NameTypeDescription
requestIdstringThe request ID (path)

Request Headers​

NameTypeDescription
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)
countryCodestringThe country code (header)

Request Body​

  • Content Type: application/json
{
"tradeId": "string",
"status": "ACCEPTED",
"comment": "string",
"userId": "string",
"tenantId": "string",
"countryCode": "string"
}

Response Code: 201 - Created​

Description

Trade request approval status updated successfully.

Headers​

Content-TypeValue
apiKey{{apiKey}}
tenantIdstring
userIdstring
countryCodestring

Body​

{
"tradeId": "trade123",
"status": "ACCEPTED",
"comment": "Approval granted",
"userId": "usr456",
"tenantId": "tenant789",
"countryCode": "US"
}

🔑 Authentication bearer​

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/trade-requests/approval-status/{requestId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!